package com.gtw.modules.sys.service.impl;

import com.gtw.modules.dao.TbWalletPayLogDao;
import com.gtw.modules.entity.TbWalletPayLog;
import com.gtw.modules.sys.service.TbWalletPayLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by wuye on 2018/4/2.
 */
@Service
public class TbWalletPayLogServiceImpl implements TbWalletPayLogService {

    @Autowired
    private TbWalletPayLogDao walletpaylogDao;

    @Override
    public TbWalletPayLog queryObject(Integer id){
        return walletpaylogDao.queryObject(id);
    }

    @Override
    public List<TbWalletPayLog> queryList(Map<String, Object> map){
        return walletpaylogDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map){
        return walletpaylogDao.queryTotal(map);
    }

    @Override
    public void save(TbWalletPayLog walletpaylog){
        walletpaylogDao.save(walletpaylog);
    }

    @Override
    public void update(TbWalletPayLog walletpaylog){
        walletpaylogDao.updateByPrimaryKey(walletpaylog);
    }

    @Override
    public void delete(Integer id){
        walletpaylogDao.delete(id);
    }

    @Override
    public void deleteBatch(Integer[] ids){
        walletpaylogDao.deleteBatch(ids);
    }
}
